package com.dubbo.lian.cms.modules.app;
 import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
 import com.baomidou.mybatisplus.enums.IdType;

 import java.io.Serializable;
import java.util.Date;
 /**
 * <p>
 * 用户目标表
 * </p>
 *
 * @author lian
 * @since 2017-01-10
 */
@TableName("user_target")
public class UserTarget extends Model<UserTarget> {
     private static final long serialVersionUID = 1L;
 	/**
	 * 用户ID
	 */
	@TableId(value = "userid",type = IdType.INPUT)
	private String userid;
	/**
	 * 目标日期
	 */
	@TableField(value="target_date")
	private Date targetDate;
	/**
	 * 目标体重
	 */
	@TableField(value="target_weight")
	private Integer targetWeight;
	/**
	 * 任务类型ID
	 */
	@TableField(value="sys_plan_id")
	private Integer sysPlanId;
	/**
	 * 任务类型名字
	 */
	@TableField(value="plan_type_name")
	private String planTypeName;
	/**
	 * 计划阶段
	 */
	@TableField(value="plan_stage")
	private Integer planStage;
 	public String getUserid() {
		return userid;
	}
 	public void setUserid(String userid) {
		this.userid = userid;
	}
 	public Date getTargetDate() {
		return targetDate;
	}
 	public void setTargetDate(Date targetDate) {
		this.targetDate = targetDate;
	}
 	public Integer getTargetWeight() {
		return targetWeight;
	}
 	public void setTargetWeight(Integer targetWeight) {
		this.targetWeight = targetWeight;
	}
 	public Integer getSysPlanId() {
		return sysPlanId;
	}
 	public void setSysPlanId(Integer sysPlanId) {
		this.sysPlanId = sysPlanId;
	}
 	public String getPlanTypeName() {
		return planTypeName;
	}
 	public void setPlanTypeName(String planTypeName) {
		this.planTypeName = planTypeName;
	}
 	public Integer getPlanStage() {
		return planStage;
	}
 	public void setPlanStage(Integer planStage) {
		this.planStage = planStage;
	}
 	@Override
	protected Serializable pkVal() {
		return this.userid;
	}
 }
